<?php
include('./config.php');
$conn=new mysqli($dbconfig['host'],$dbconfig['user'],$dbconfig['pwd'],$dbconfig['dbname']);
$sql="CREATE TABLE weizhi(id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY,
ip VARCHAR(50) character set utf8 NOT NULL ,
jd VARCHAR(50) character set utf8 NOT NULL ,
wd VARCHAR(50) character set utf8 NOT NULL,
dz VARCHAR(100) character set utf8 NOT NULL,
reg_date TIMESTAMP)";
if($conn->query($sql)==1){
echo"ok";


}
$conn->close();
?>